{% extends 'base.html' %}

{% block title %}{{ _('Index') }}{% endblock %}

{% block body %}

<div>
    <p><img src="{{ current_user.gravatar() }}" /></p>
    <h1>
        Hello, {{ current_user.username }}!
    </h1>
    {% if not current_user.confirmed %}
    <h3>You have not confirmed your account yet.</h3>
    <p>
        Before you can access this site you need to confirm your account.
        Check your inbox, you should have received an email with a confirmation link.
    </p>
    <p>
        Need another confirmation email?
        <a href="{{ url_for('account.resend_confirmation') }}">Click here</a>
    </p>
    {% endif %}
</div>

{% endblock %}
